package com.sh.data.engine.domain.integration.api.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.base.model.PageResult;
import com.sh.data.engine.domain.integration.api.record.model.domain.ApiRunningRecordDomain;
import com.sh.data.engine.repository.dao.integration.api.record.entity.ApiRunningRecordEntity;

/**
 * @author : changkong
 * @date : 2022/3/28
 */
public interface ApiRunningRecordService extends IService<ApiRunningRecordEntity> {
    Long saveRecord(ApiRunningRecordDomain apiRunningRecordDomain);

    PageResult<ApiRunningRecordEntity> getRunningRecordPageList(
        Integer pageNum, Integer pageSize, Long taskId, Integer taskStatus, Integer executeType, Integer ignored);

    ApiRunningRecordDomain getApiRunningRecord(Long id);

    void updateApiRunningRecord();

}
